cmake_minimum_required(VERSION 3.21)
project(project)

set(CMAKE_CXX_STANDARD 11)

add_executable(cpp0822 cpp0616/cpp0822.cpp)
add_executable(work0822 work/work0822.cpp)
add_executable(stl_string cpp0616/stl_string.cpp)
add_executable(cpp0823 cpp0616/cpp0823.cpp)
add_executable(work0823 work/work0823.cpp)
add_executable(cpp0824 cpp0616/cpp0824.cpp)
add_executable(cpp0825 cpp0616/cpp0825.cpp)
add_executable(work0826 work/work0826.cpp)

# 告诉编译器去这个文件夹中去找我们需要使用的头文件
include_directories(cpp0616/iniparse)
# 将cpp0616/iniparse文件下的源文件用变量src_list代替
aux_source_directory(cpp0616/iniparse SRC_LIST)
add_executable(cpp0826 cpp0616/cpp0826.cpp ${SRC_LIST})
add_executable(cpp0827 cpp0616/cpp0827.cpp)
add_executable(work0828 work/work0828.cpp)
add_executable(cpp0829 cpp0616/cpp0829.cpp)
add_executable(cpp0830 cpp0616/cpp0830.cpp)
add_executable(work0830 work/work0830.cpp)